#ifndef __I2C_H
#define __I2C_H

#include "sys.h"
#include "delay.h"


#define OLED_ADDRESS 0x78


void HardWare_I2C2_Init(void);

void I2C2_WriteByte(uint8_t address,uint8_t addr,uint8_t data);

void I2C2_Device_Scanner(unsigned char * address);

unsigned char  I2C2_ByteRead(unsigned char DeviceAddress,unsigned char ReadAddr);

#endif
